package com.github.wxiaoqi.security.common.msg;

/**
 * Created by Ace on 2017/6/11.
 */
public class ObjectRestResponse<T> extends BaseResponse<T> {

    T data;

    public  ObjectRestResponse(){}
    public ObjectRestResponse(T data) {
        super(200,"success",true);
        this.setData(data);
    }
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
